<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>jQuery UI Autocomplete - Multiple, remote</title>

<link rel="stylesheet"
    href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css" />

<script>

$(function() {
	
 var availableTags = ${list}
    $( "#birds" ).autocomplete({
        source: availableTags
    });
});

</script>
</head>
<body>

    <div class="ui-widget">
        <label for="birds">Birds: </label> <input id="birds" size="50" name="term" />
    </div>
</body>
</html>